local variable 예문
- Let's take the average function and add a local variable in C.
C 언어에서 average 함수를 정의하고, 지역 변수를 추가해 보겠습니다. - Now comparing C local variables and these named local expressions is a sleight of hand.
이제 C 지역 변수와 명명된 표현식을 비교하는 것은 일종의 트릭입니다. - Most local variables are created when the function is called, and are destroyed on return from that function.
대부분의 지역 변수는 기능이 불릴 때 창조되고, 저 기능에서 반환에 파괴된다. - If you still believe in your a, a1, etc. naming convention you can easily use the same variables for global variables as for the local variables!
만약 아직도 당신의 a, a1 을 믿고 있다면, 지역 변수와 전역 변수에 똑같은 변수를 사용하는 일이 생길 수 있습니다! - They are added as metadata tags that you attach to variables, parameters, and return values to inspect method return values, passed parameters, local variables, and fields.
주석은 변수, 매개변수 및 반환 값에 추가하여 메서드 반환 값, 전달된 매개변수, 지역 변수 및 필드를 검사하는 메타데이터 태그로 추가되었습니다. - You can also define global names for things at the top level, and as with our local "variables" above, these aren't really variable at all, just shorthand names for things.
최상위 수준에 있는 것들에 대한 전역 이름을 정의할 수 있으며, 위의 지역 "변수"와 마찬가지로 이것은 전혀 변하지 않습니다. - Functions local variables arguments parameter A function may simply perform a task without returning any value, functions allow complicated programs to be parceled up into small blocks, each of which is easier to write, read, and maintain.
기능 지역 변수 논쟁 매개변수 기능은 어떤 가치, 기능도 돌려보내기 없이 각각은 쓰기 쉬운, 작은 구획으로 위로 소포로 하는 것을 허용한다 복잡한 프로그램이 읽고, 유지한다 간단하게 업무를 이행할지도 모른다.